package com.mall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.mall.common.utils.PageUtils;
import com.mall.product.entity.AttrEntity;
import com.mall.product.vo.AttrVO;

import java.util.List;
import java.util.Map;

/**
 * 商品属性
 *
 * @author xzt
 * @email xzt@163.com
 * @date 2024-08-10 15:54:08
 */
public interface AttrService extends IService<AttrEntity> {

    PageUtils queryPage(Map<String, Object> params);

    PageUtils queryPage(Map<String, Object> params,Long categoryId,String attrType);

    void saveAttrRelation(AttrVO attr);

    AttrVO getAttrVO(Long attrId);

    List<AttrVO> getAttrVOByGroupId(Long groupId);
}

